<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>首页</title>
  <link rel="stylesheet" href="./css/base.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/index.css">
</head>
<body>
  <div class="mm-layout" id="aa">
    <!-- 头部 -->
    <div class="mm-header">
      <div class="hd-logo">
        <span>
          <img src="./images/header_logo.png" alt="">
        </span>
        <a href="#">
          <img src="./images/header_app.png" alt="">
        </a>
      </div>
      <div class="hd-search">
        <form class="hd-form">
          <input type="search" class="search"  name="search" placeholder="请输入你想比价的商品">
          <button type="button" class="search-btn">搜索</button>
        </form>
      </div>
    </div>
  
    <!-- 导航 -->
  <div class="mm-nav clearfix">
    <ul">
      <li>
        <a href="#">
          <img src="./images/ic_search.png" alt="">
          <p>比价搜索</p>
        </a>
      </li>
    </ul>
  </div>

  <!-- 主体 -->
  <div class="mm-main">
    <div class="discount">
      <span>超值折扣推荐</span>
      <a href="#">
        <img src="./images/more.png" alt="">
      </a>
    </div>
    <!-- 内容 -->
    <div class="content"> 
      <ul>
        <li>
          <a href="#">
            <img src="./images/mnav.jpg" alt="">
            <div class="info">
              <p>移动端单品：海天鲜味生抽1.28L <span>10.9元</span></p>
              <span>京东商城 |</span><span> 10-25 14:10</span><span class="fr">1</span>
            </div>
          </a>
        </li>
      </ul>
    </div>

    <!-- 查看更多 -->
    <div class="more">
      <a href="moneyctrl.html">更多优惠信息»</a>
    </div>

  </div>



    <!-- 底部 -->
    <div class="mm-footer">
      <div class="ft-brend">
        <span>品牌排名</span>
        <a href="#">
          <img src="./images/more.png" alt="">
        </a>
      </div>
      <div class="foot-top">
        <a href="#">登录</a>
        <a href="#">注册</a>
        <a href="#aa" class="upward"><img src="./images/top.jpg" alt="">返回顶部</a>
      </div>
      <div class="foot-bottom">
        <p>
          <a href="#">手机APP下载</a>
          <span>慢慢买手机版</span>  
          -- 掌上比价平台
        </p>
        <p>m.manmanbuy.com</p>
      </div>
    </div>
    
  </div>

  <!--导航模板 -->
  <script type="text/html" id="tmp-nav">
  <ul class="clearfix">
   {{ each result  v i }}
   <li>
      <a href="{{ v.titlehref }}" data-id={{ v.indexmenuId }}>
        {{@v.img}}
        <p>{{v.name}}</p>
      </a>
    </li>
    {{ /each }}
  </ul>
  </script>

  <!-- 商品模板 -->
  <script type="text/html" id="tmp-main">
    <ul>
      {{ each result v i }}
        <li>
          <a href="moneyproduct.html?productid={{ v.productId }}">
           {{@ v.productImgSm }}
            <div class="info">
              <p>{{ v.productName }} <span>{{ v.productPinkage }}</span></p>
              <span>{{ v.productFrom }} |</span><span> {{ v.productTime }}</span><span class="fr">{{ v.productComCount }}</span>
            </div>
          </a>
        </li>
        {{ /each }}
      </ul>
    </div>
  </div>
  
  </script>


 <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./lib/jquery/jquery.min.js"></script>  
  <script src="./js/common.js"></script>
  <script src="./js/index.js"></script>
</body>
</html>